You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
T3 Code stopped opening Simlock 0.8.0 pool devices after #40095 bumped agent-device to 0.21.41. The new client requires RPC protocol 3, and Simlock 0.8.0 serves protocol 2.
- T3 managed runtime and mobile pool scripts: agent-device 0.21.41+ T3 managed runtime and mobile pool scripts: agent-device 0.21.36
Restore the matching launcher flags, CLI help fixture, and showcase pin. The local mobile:audit command uses its own 0.21.41 dependency for native audit support. expo-device-hub stays at 0.26.1.
vp run check:changed upstream/main passed. The focused Simlock and device toolchain tests passed (16 tests), and the device eval dry run completed. The broader Windows run had the same 15 failures on this branch and on upstream/main at dbb5bdb582. This branch's protocol check used a mock gateway.
Merge Danger
Door Two-way. Blast radius Device tooling. Managed device sessions use the earlier CLI, which restores protocol-2 compatibility and drops CLI additions introduced after 0.21.36.
Reviewing files that changed from the base of the PR and between be34e5b and 1f3905b.
Files ignored due to path filters: 1
pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Walkthrough
The change pins the managed agent-device runtime to 0.21.36 and updates its shim flags and help snapshot. The mobile audit script uses a separate agent-device@0.21.41 alias.
Changes: agent-device versioning
Layer / File(s)
Summary
Managed runtime version and flags .github/workflows/mobile-showcase-screenshots.yml, apps/server/src/device/deviceToolVersions.json, apps/server/src/device/AgentDeviceShim.ts
The workflow and server configuration use agent-device 0.21.36. The shim removes six value-taking flags from its list.
CLI help reference evals/mcp-tool-use/agent-device-help.txt
The help snapshot documents version 0.21.36 and updates its command catalog, guides, and help text for several commands.
Mobile audit CLI alias scripts/package.json, scripts/mobile-audit.ts, knip.jsonc
The scripts workspace adds an agent-device@0.21.41 alias. The mobile audit script uses that package by default, and Knip ignores the alias dependency.
pingdotgg/t3code#40095: This PR introduced the agent-device 0.21.41 pin and matching shim flag changes that this change reverses.
pingdotgg/t3code#41063: This PR makes overlapping agent-device 0.21.36 pin and shim changes for the same reported issue.
Suggested reviewers:juliusmarminge, macroscopeapp
Merge Risk: Minimal · previous review be34e
This change restores the agent-device version that works with Simlock 0.8.0 pools and keeps the local mobile audit command on its separate newer version. No concrete merge-blocking risk was found. The change drops CLI additions introduced after 0.21.36 for managed device sessions, which is the stated trade-off.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the main change: restoring Simlock 0.8.0 compatibility in the devices area. The changeset pins agent-device to 0.21.36 (from 0.21.41) across the managed runtime, launcher flags, help f…
Description check
The description follows the template sections: Problem, Change, Scope, and Verification. It explains the regression after the 0.21.41 bump, the pin to 0.21.36, and the link to issue #41057. It gives b…
Linked Issues check
[#41057] The issue requires T3 Code to lease and open devices from existing Simlock 0.8.0 pools. The issue states the cause: the agent-device 0.21.41 bump changed RPC to protocol 3, and Simlock 0.8.0 …
Out of Scope Changes check
All listed changes connect to the 0.21.41 to 0.21.36 downgrade. The workflow pin, deviceToolVersions.json, and scripts/package.json change the runtime version. AgentDeviceShim.ts VALUE_FLAGS and the h…
Full details: Title check
Explanation
The title names the main change: restoring Simlock 0.8.0 compatibility in the devices area. The changeset pins agent-device to 0.21.36 (from 0.21.41) across the managed runtime, launcher flags, help fixture, and showcase workflow, which restores protocol-2 compatibility. The title is specific and follows the conventional commit form. It does not name the version pin, but it does not need to.
Full details: Description check
Explanation
The description follows the template sections: Problem, Change, Scope, and Verification. It explains the regression after the 0.21.41 bump, the pin to 0.21.36, and the link to issue #41057. It gives before and after protocol evidence and lists the checks run. Its Scope section links the issue and states the bug, which satisfies the template. The Verification section is specific, and it notes that the protocol check used a mock gateway. The author uses a 'Summary' heading and a 'Merge Danger' section instead of the template's exact headings. The template's 'Problem' and 'Change' headings are not present as named sections. The author also gives no before/after screenshots, but this is a non-UI change, so none are needed. The description is mostly complete and clear.
Full details: Linked Issues check
Explanation
[#41057] The issue requires T3 Code to lease and open devices from existing Simlock 0.8.0 pools. The issue states the cause: the agent-device 0.21.41 bump changed RPC to protocol 3, and Simlock 0.8.0 rejects it. The PR pins agent-device to 0.21.36 in apps/server/src/device/deviceToolVersions.json, scripts/package.json, and the showcase workflow (.github/workflows/mobile-showcase-screenshots.yml). It also sets AgentDeviceShim.ts VALUE_FLAGS to match 0.21.36. The PR reports that a mock protocol-2 gateway was refused under 0.21.41 and accepted under 0.21.36 with a completed device-list RPC. It cites #40240 for successful live leasing with the same pin. The issue's own workaround is the same 0.21.36 pin. Limits: the verification relies on a mock gateway and on #40240, not on a live run in this PR. No new automated regression test is evident in the summary. pnpm-lock.yaml is in ignored_files and was not inspected. The manifest pins are the coding change that the issue requires, so the verdict does not depend on the lockfile.
Full details: Out of Scope Changes check
Explanation
All listed changes connect to the 0.21.41 to 0.21.36 downgrade. The workflow pin, deviceToolVersions.json, and scripts/package.json change the runtime version. AgentDeviceShim.ts VALUE_FLAGS and the help fixture agent-device-help.txt (0.21.36, 75 commands) match the pinned CLI. The mobile-audit.ts default path, the scripts/package.json agent-device-audit alias for 0.21.41, and the knip.jsonc ignore entry keep the local mobile:audit command working. The PR states this intent, and it keeps the audit-only dependency separate from the managed runtime. expo-device-hub stays at 0.26.1 as stated. The removed CLI flags and commands are a known side effect of the downgrade, and the PR documents them. No unrelated change was found in the summary. The lockfile was excluded and not reviewed; it is not treated as evidence of scope.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Reviewing files that changed from the base of the PR and between 7e3a9ba and be34e5b.
Files ignored due to path filters: 1
pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing: 7
.github/workflows/mobile-showcase-screenshots.yml
apps/server/src/device/AgentDeviceShim.ts
apps/server/src/device/deviceToolVersions.json
evals/mcp-tool-use/agent-device-help.txt
knip.jsonc
scripts/mobile-audit.ts
scripts/package.json
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
The automated pipeline stopped on this pull request and will not merge it:
the capture step could not show the problem on the base commit, so there is nothing to prove fixed.
Configured device support and the supplied Simlock pool through settings RPC, opened the seeded thread, opened the Device panel, and selected Start Pixel 9. Base reached the device viewport but its capture still showed Connecting video. Head displayed Remote daemon RPC protocol is incompatible. A subsequent comparison requiring the video overlay to clear was interrupted by a runtime stall and produced no completed proof.
I reran the protocol check after rebasing. Against the same mock protocol-2 gateway, 0.21.41 returns Remote daemon RPC protocol is incompatible before sending a device RPC, and the PR’s pinned 0.21.36 completes the device-list RPC. #40240 also records successful Pixel 9 leasing with 0.21.36. The live capture is still inconclusive. The build’s installed agent-device version and the gateway’s RPC version would help explain why the capture saw a protocol mismatch on the PR build.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
size:M30-99 changed lines (additions + deletions).takeover:blockedTakeover blocked; reason in the PR bodyvouch:unvouchedAuthor is not yet trusted in the VOUCHED list.
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
T3 Code stopped opening Simlock 0.8.0 pool devices after #40095 bumped
agent-deviceto 0.21.41. The new client requires RPC protocol 3, and Simlock 0.8.0 serves protocol 2.Restore the matching launcher flags, CLI help fixture, and showcase pin. The local
mobile:auditcommand uses its own 0.21.41 dependency for nativeauditsupport.expo-device-hubstays at 0.26.1.Fixes #41057.
Evidence
Remote daemon RPC protocol is incompatiblebefore issuing a device RPC.vp run check:changed upstream/mainpassed. The focused Simlock and device toolchain tests passed (16 tests), and the device eval dry run completed. The broader Windows run had the same 15 failures on this branch and onupstream/mainatdbb5bdb582. This branch's protocol check used a mock gateway.Merge Danger
Door Two-way. Blast radius Device tooling. Managed device sessions use the earlier CLI, which restores protocol-2 compatibility and drops CLI additions introduced after 0.21.36.
GPT-6.2 Sol via Codex in T3 Code.